import { createApp } from 'vue'
// 引入全局样式
import '@/styles/index.scss'
// 引入element-plus以及样式
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
// 引入中文语言包
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import App from './App.vue'
import 'virtual:svg-icons-register'
// 组测全局组件
import GlobalComponents from '@/components'
// 注册路由
import router from './router'

const app = createApp(App)
app.use(ElementPlus, { locale: zhCn })
app.use(GlobalComponents)
app.use(router)
app.mount('#app')
